package communication.common.vertx.net;

import lombok.Getter;

/**
 *  协议类型
 * @author zxl
 */
@Getter
public enum ProtocolEnum {

    /**
     * tcp
     */
    TCP("TCP"),

    /**
     * udp
     */
    UDP("UDP");

    /**
     * 协议
     */
    private String protocol;

    private ProtocolEnum(String protocol) {
        this.protocol = protocol;
    }

}
